package com.mc.read.dao.mapper;

import com.mc.read.dao.models.Secondleveltypeforuser;
import com.mc.read.dao.models.Secondleveltypesta;
import com.mc.read.dao.models.SecondleveltypestaExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SecondleveltypestaMapper {
    int countByExample(SecondleveltypestaExample example);

    int deleteByExample(SecondleveltypestaExample example);

    int deleteByPrimaryKey(Integer secondleveltypestaid);

    int insert(Secondleveltypesta record);

    int insertSelective(Secondleveltypesta record);

    List<Secondleveltypesta> selectByExample(SecondleveltypestaExample example);

    Secondleveltypesta selectByPrimaryKey(Integer secondleveltypestaid);

    int updateByExampleSelective(@Param("record") Secondleveltypesta record, @Param("example") SecondleveltypestaExample example);

    int updateByExample(@Param("record") Secondleveltypesta record, @Param("example") SecondleveltypestaExample example);

    int updateByPrimaryKeySelective(Secondleveltypesta record);

    int updateByPrimaryKey(Secondleveltypesta record);

    int updateSum(Secondleveltypeforuser secondleveltypeforuser);
}